package com.example.doctorserver.mapper;

import com.example.doctorserver.pojo.Checkitem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface CheckitemMapper {
    int deleteByPrimaryKey(Integer ciId);

    int insert(Checkitem record);

    int insertSelective(Checkitem record);

    Checkitem selectByPrimaryKey(Integer ciId);

    int updateByPrimaryKeySelective(Checkitem record);

    int updateByPrimaryKey(Checkitem record);

    @Select("SELECT ciName FROM checkitem WHERE ciId = #{ciId}")
    String getCiName(Integer ciId);
}